package org.jmh.gift.fallback;

import org.jmh.gift.client.OrderClient;
import org.jmh.gift.enums.SystemErrorCode;
import org.jmh.gift.util.AjaxResult;
import org.springframework.stereotype.Component;

@Component
public class OrderClientFallback implements OrderClient {
    @Override
    public AjaxResult getOrderByParentOrderNo(String parentOrderNo) {
        return AjaxResult.error(SystemErrorCode.RESPONSE_CODE_500);
    }
}
